{include file='fcworker/fc_head'}
<body style="background:#f8f8f8">
<style type="text/css">
    .dataList{
        height: 4.08rem;
    }
    .headerd{
        display: block;
        /*width: 5.95rem;*/
        height: 1rem;
        padding: 15px 23px 38px;
    }
    .dataList4{
        width: 7.06rem;
        display: block;
    }
    .dataList4 li{
        width:25%;
    }
    .dataList4 li:after{
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        width: 1px;
        height: .26rem;
    }
    .dataList4 li:nth-child(3n):after{
        width: 1px;
    }
    .userImg{
        width: 60px;
        height: 60px;
        border-radius: 60px;
    }
    .hhh{
        color: #fff;
        line-height: 21px;
        font-size: 19px;
    }
    .userTixt span {
        color: #b3daff;
        line-height: 21px;
        font-size: 11px;
        margin-top: 10px;
        text-align: center;
    }
    .addft{
        font-size: 0.38rem !important;
    }
    .dt1{
        color: #b3daff !important;
    }
    .dataList4 .min{
        font-size: 11px;
    }
    .table-con{
        width: 7.06rem;
        margin: .25rem auto 0;
    }
    .table-cons>div {
        box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.06);
        border-radius: 16px;
    }
    .table-con>div {
        border-radius: 16px;
    }
    .table .table1{
        box-sizing: border-box;
        overflow: hidden;
        border-radius: 0 0 20px 20px;
        border: 0px solid darkgray;
    }
    .table dt{
        width: 12.5%;
        text-align: center;
        float: left;
    }
    .table1 dt{
        width: 14.2%;
        text-align: center;
        float: left;
    }
    .bg-w{
        line-height: 0.8rem;
        height: 0.8rem;
        background-color: #edf6ff;
        color: #7e7578;
        font-size: 14px;
    }
    .bg-g{
        background: #fff;
        height: 30px;
        line-height: 30px;
        font-size: 12px;
        color: #a7a7a7;
        border-bottom: 0.5px solid #dfdede;
    }
    .h58{
        height: 0.58rem;
    }
    .h88{
        height: 0.88rem;
    }
    .h188{
        height: 1.88rem;
    }
</style>

<div id="mescroll" class="mescroll">
    <div id="app">
        <div class="h58"></div>
        <div class="dataList">
            <ul>
                <div class="headerd">
                    <div class="userImg">
                        <img src="{$fans['avatar']}">
                    </div>
                    <div class="userTixt">
                        <h3 class="hhh">{$username}</h3>
                        <span style="display: block">{$teamname}</span>
                    </div>
                </div>
                <div class="dataList4">
                    <li><p class="dt1">已支付</p><span class="addft">{$my['paycount']}</span><p class="dt1">今日<span class="min">{$my['paycounttoday']}</span></p></li>
                    <li><p class="dt1">未支付</p><span class="addft">{$my['unpaidcount']}</span><p class="dt1">今日<span class="min">{$my['unpaidcounttoday']}</span></p></li>
                    <li><p class="dt1">直销</p><span class="addft">{$my['directcount']}</span><p class="dt1">今日<span class="min">{$my['directcounttoday']}</span></p></li>
                    <li><p class="dt1">{$my['teamtips']}</p><span class="addft">{$my['teampaycount']}</span><p class="dt1">今日<span class="min">{$my['teampaycounttoday']}</span></p></li>
                </div>
            </ul>
        </div>
        <!--个人日报-->
        <div class="table-con table-cons">
            <div>
                <div class="row managerTit"><div>个人日报</div></div>
                <div class="table">
                    <dl class="bg-w">
                        <dt ><p>日期</p></dt>
                        <dt ><p>新粉丝</p></dt>
                        <dt ><p>转发</p></dt>
                        <dt ><p>浏览量</p></dt>
                        <dt ><p>直销</p></dt>
                        <dt ><p>成交</p></dt>
                        <dt ><p>线下</p></dt>
                        <dt ><p>红包</p></dt>
                    </dl>
                    {loop $myreport $key $item}
                    <dl class="bg-g">
                        <dt ><p>{$item['riqi']}</p></dt>
                        <dt ><p>{$item['newfans']}</p></dt>
                        <dt ><p>{$item['forward']}</p></dt>
                        <dt ><p>{$item['scansum']}</p></dt>
                        <dt ><p>{$item['recordzx']}</p></dt>
                        <dt ><p>{$item['record']}</p></dt>
                        <dt ><p>{$item['recordxx']}</p></dt>
                        <dt ><p>{$item['comm']}</p></dt>
                    </dl>
                    {/loop}
                </div>
            </div>
        </div>
        <div class="h88"></div>
        <!--团队日报-->
        {if $myteam}
        <div class="table-con table-cons">
            <div>
                <div class="row managerTit"><div>团队日报</div></div>
                <div class="table1">
                    <dl class="bg-w">
                        <dt ><p>日期</p></dt>
                        <dt ><p>新粉丝</p></dt>
                        <dt ><p>转发</p></dt>
                        <dt ><p>浏览量</p></dt>
                        <dt ><p>直销</p></dt>
                        <dt ><p>成交</p></dt>
                        <dt ><p>线下</p></dt>
                    </dl>
                    {loop $myteam $key $item}
                    <dl class="bg-g">
                        <dt ><p>{$item['riqi']}</p></dt>
                        <dt ><p>{$item['newfans']}</p></dt>
                        <dt ><p>{$item['forward']}</p></dt>
                        <dt ><p>{$item['scansum']}</p></dt>
                        <dt ><p>{$item['recordzx']}</p></dt>
                        <dt ><p>{$item['record']}</p></dt>
                        <dt ><p>{$item['recordxx']}</p></dt>
                    </dl>
                    {/loop}
                </div>
            </div>
        </div>
        <div class="h88"></div>
        {/if}
        <!--公司日报-->
        {if $mycompany}
        <div class="table-con table-cons">
            <div>
                <div class="row managerTit"><div>公司日报{php echo $workertips;}</div></div>
                <div class="table1">
                    <dl class="bg-w">
                        <dt ><p>日期</p></dt>
                        <dt ><p>新粉丝</p></dt>
                        <dt ><p>转发</p></dt>
                        <dt ><p>浏览量</p></dt>
                        <dt ><p>直销</p></dt>
                        <dt ><p>成交</p></dt>
                        <dt ><p>线下</p></dt>
                    </dl>
                    {loop $mycompany $key $item}
                    <dl class="bg-g">
                        <dt ><p>{$item['riqi']}</p></dt>
                        <dt ><p>{$item['newfans']}</p></dt>
                        <dt ><p>{$item['forward']}</p></dt>
                        <dt ><p>{$item['scansum']}</p></dt>
                        <dt ><p>{$item['recordzx']}</p></dt>
                        <dt ><p>{$item['record']}</p></dt>
                        <dt ><p>{$item['recordxx']}</p></dt>
                    </dl>
                    {/loop}
                </div>
            </div>
        </div>
        {/if}
        {include file='fcworker/fc_foot_yixuan'}
        <div class="h110"></div>
        {include file='fcworker/fc_foot'}
    </div>
</div>
</body>
<!--  下拉刷新-->
<script>
    const mescroll = new MeScroll("mescroll", {
        down: {
            auto: false,
            callback: () => {
                mescroll.endSuccess();
                setTimeout(() => {
                    window.location.reload();
                },500)
            }
        },
        up: {
            use: false
        }
    })
</script>